//
//  ScheduleViewCell.m
//  PASystem
//
//  Created by 刘沿 on 16/8/29.
//  Copyright © 2016年 czd. All rights reserved.
//

#import "ScheduleViewCell.h"
#import "UILabel+time.h"
@implementation ScheduleViewCell

+(instancetype)WithScheduleViewCell{

    return [[[NSBundle mainBundle] loadNibNamed:@"ScheduleViewCell" owner:nil options:nil] lastObject];
}

- (void)setModel:(SchedulModel *)model{
    _model = model;

    self.CITY.text = model.CITY;
    NSString *str = [UILabel withTimeStr:model.DATETIME];
    
    self.DATETIME.text = str;
    self.ROUNTING.text = model.ROUNTING;
}




@end
